﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="demo_sms.ascx.cs" Inherits="Admin_Module_demo_sms" %>

<fieldset>
    <legend>Gửi Tin Nhận</legend>
<table style="text-align:left">
    <tr>
        <td>Đầu số</td>
        <td>
            <asp:TextBox runat="server" ID="txtDest"></asp:TextBox>
        </td>
    </tr>
            
    <tr>
        <td>Số Điện Thoại</td>
        <td><asp:TextBox runat="server" ID="txtSrc"></asp:TextBox></td>
    </tr>
    
    <tr>
        <td>Mã Dịch Vụ</td>
        <td><asp:TextBox runat="server" ID="txtCmdCode"></asp:TextBox></td>
    </tr>
    
    <tr>
        <td>Nội Dung</td>
        <td><asp:TextBox runat="server" ID="txtMsgContent"></asp:TextBox></td>
    </tr>
    
     <tr>
        <td colspan="2" align="center">
            <asp:Button CssClass="AdminSaveButton" runat="server" ID="btnCreate" OnClick="btnCreate_Click" Text="Gửi Tin Nhắn" />
            <asp:Button CssClass="AdminCancelButton" runat="server" ID="btnReset" OnClick="btnReset_Click" Text="Nhập Lại" />            
        </td>
    </tr>
</table>
</fieldset>


<fieldset>
    <legend>Kết Quả Trả Về</legend>
    <asp:DataList runat="server" ID="grdMT">
        <ItemTemplate>
            <p><%# Eval("MsgBody")%></p>
        </ItemTemplate>
    </asp:DataList>
</fieldset>